
/**
 * Write a description of class Motor here.
 * 
 * @author (your name) 
 * @version (a version number or a date)
 */
public class Motor implements Calculadora
{
  private int valor1;
  private int valor2;
   
    public  int sumar(){
        return valor1 + valor2;
        
    }
    
    public  int restar(){
        return valor1 - valor2;
        
    }
    
   public void SetValor1( int var1 ){
       valor1 = var1;
    }
    
    public int GetValor1(){
       return this.valor1;
  }
   
    public void SetValor2( int var2 ){
       valor2 = var2;
    } 
   
     public int GetValor2(){
       return this.valor2;
  }
  
    public  int multiplicar(){
        return valor1 * valor2;
        
    }
    
    public  int dividir(){
        return valor1 / valor2;
        
    }
    
   public void SetValor3( int var1 ){
       valor1 = var1;
    }
   
     public int GetValor3(){
       return this.valor1;
  }
  
    public void SetValor4( int var2 ){
       valor2 = var2;
    } 

     public int GetValor4(){
       return this.valor2;
  }
}
